Service Up

InBox CryptPWD

Version 6.0.0

Creation Date 2021-01-21

Resources

Module to decrypt the native OTRS method of encryption.

Prerequisites

Framework

The following versions of the OTRS framework are supported:

  • 6.x.x

Modules

The following modules are required:

  • InBox Core 6.21.7 or higher

Operational system

The following operating systems are required:

  • [None]

Third Party Software

The following third party software is required:

  • [None]

Installation

bin/otrs.Console.pl Admin::Package::Install /path/to/InBox\ CryptPWD-6.0.0.opm

Configuration

Follow the settings below for the correct use of the module.

This module allows to make readable strings in the configuration file in /Kernel/Config.pm readable that have been encrypted by OTRS.

For that, it will be necessary to make a string unreadable through the SSH logged in the otrs user.

With the user otrs execute the command line passing the value to be shuffled:

bin/otrs.Console.pl Maint::Database::PasswordCrypt MyP@ssw0rd

Exemple:

Configuração Configuração

With the string unreadable, just change it in the configuration file as follows:

Add the excerpt below before the function Load:

use Kernel::System::CryptPWD;

sub Load {
	my $Self = shift;
	...
}

Configuração

Now change the string value for the function in the code snippet by passing the string that was shuffled as in the example below:

# $Self->{'DatabasePw'} = 'MyP@ssw0rd';
$Self->{'DatabasePw'}   = DecryptPwd('0949cbbcaa9978fc895898d889395b4b');

Configuração

Attention: This method only makes strings unreadable.